Forum : How to print "" in System.out.println
Brief description  about Online courses   join in Online courses
View  's Profile

How to print "" in System.out.println

In interface assignment we want the following output-
My Name is : "Your Name"
My Age is : "Your Age"
My College is : "Your College's Name"
I am a Java Programmer

How we can print " name" ???
Asked by | Aug 26, 2010 |  Reply now
Replies (1)
View arun kumar das 's Profile
Hi Juhi,

Please try the below program:
_____________________________________________
class example
{
public static void main(String args[])
{
System.out.println("\"Your Name\"");
System.out.println("\"Your Age\"");
System.out.println("\"Your College's Name\"");
}
}
_____________________________________________
Cheers...
JT

Sep 24, 2010